<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/11/19
  Time: 0:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table border="1px" class="content">
        <thead>
        <th>图书名称</th>
        <th>作者</th>
        <th>类别</th>
        <th>查看详情</th>
        </thead>
        <tbody>
        <c:if test="${not empty bookList}">
            <c:forEach items="${bookList}" var="book">
                <tr>
                    <td>${book.bookName}</td>
                    <td>${book.bookAuthor}</td>
                    <td>${book.bookType}</td>
                    <td>${book.bookDescription}</td>
                </tr>
            </c:forEach>
        </c:if>
        </tbody>
    </table>
</body>
</html>
